<?php

/**
 * Document form.
 *
 * @package    DocFlow
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class DocumentForm extends BaseDocumentForm
{
  public function configure()
  {
  	//when file will be "deleted" so in DataBase we shall must write is_deleted = true;
  	unset($this['created_at'], $this['updated_at'], $this['is_deleted'], $this['version'], 
  		$this['cause_file_id']);
    
  	$this->setWidget('author_id', new sfWidgetFormInputHidden());
  }
}
